<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>Expword</title>
<script src="${basePath}js/jquery.js"></script>
<script src="${basePath}js/pintuer.js"></script>
<script src="${basePath}js/jquery.min.js"></script>
<script type="text/javascript" src="${basePath}js/bootstrap-select.js"></script>
<link rel="stylesheet" type="text/css"
	href="${basePath}css/bootstrap-select.css">
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css"
	rel="stylesheet">
<!-- <link href="css/bootstrap.min.css" rel="stylesheet">-->
<script src="${basePath}js/bootstrap.min.js"></script>
<script type="text/javascript">
	$(window).on('load', function() {
		$('.selectpicker').selectpicker({
			'selectedText' : 'cat'
		});
	});
</script>
<script type="text/javascript">
	$(function() {
		$("#revise").click(function() {
			javascript: history.go(-1);
		})
	})
</script>
<script type="text/javascript">
	$(function() {
		if ($("#repScore").val() != '') {
			$("#repScore").attr("readonly", "readonly");
			$("#repOpinion").attr("readonly", "readonly");
			$("#submit").hide();
		}
	})
</script>
<script type="text/javascript">
	$(function() {
		$("#revise").click(function() {
			javascript: window.history.go(-1);
		})
	})
</script>
<link rel="stylesheet" href="${basePath}css/pintuer.css">
<link rel="stylesheet" href="${basePath}css/admin.css">
</head>
<body>
	<div class="panel admin-panel">
		<div class="panel-head">
			<strong><span class="icon-pencil-square-o"></span>天津理工大学电子实验报告</strong><span
				style="margin-left: 85%"><a id="revise" href="#">返回</a></span>
		</div>
		<div class="body-content">
			<form method="post" class="form-x"
				action="updateRepInfo.do?opb=${opb}&stuClass=${stuClass}&stuId=${stuId}"
				enctype="multipart/form-data">
				<input type="hidden" name="repIndex"
					value="${requestScope.repB.repIndex}">
				<div class="form-group">
					<div class="label">
						<label>姓名：</label>
					</div>
					<div class="field">
						<input id="stuName" type="text" class="input" name="stuName"
							value="${requestScope.repB.stuName}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学号：</label>
					</div>
					<div class="field">
						<input id="stuId" type="text" class="input" name="stuId"
							value="${requestScope.repB.stuId}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>班级：</label>
					</div>
					<div class="field">
						<input id="stuClass" type="text" class="input" name="stuClass"
							value="${requestScope.repB.stuClass}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验名称：</label>
					</div>
					<div class="field">
						<input id="expName" type="text" class="input" name="expName"
							value="${requestScope.repB.expName}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>课程名称：</label>
					</div>
					<div class="field">
						<input id="expClass" type="text" class="input" name="expClass"
							value="${requestScope.repB.expClass}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>课程代码：</label>
					</div>
					<div class="field">
						<input id="expId" type="text" class="input" name="expId"
							value="${requestScope.repB.expId}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验时间：</label>
					</div>
					<div class="field">
						<input id="repTime" type="text" class="input" name="repTime"
							value="${requestScope.repB.repTime}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验地点：</label>
					</div>
					<div class="field">
						<input id="expAdd" type="text" class="input" name="expAdd"
							value="${requestScope.repB.expAdd}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>成绩：</label>
					</div>
					<div class="field">
						<input id="repScore" type="text" class="input" name="repScore"
							value="${requestScope.repB.repScore}" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验教师：</label>
					</div>
					<div class="field">
						<input id="teaName" type="text" class="input" name="teaName"
							value="${requestScope.repB.teaName}" readonly="readonly" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>批改意见：</label>
					</div>
					<div class="field">
						<textarea id="repOpinion" type="text" class="input"
							name="repOpinion" style="height: 60px;">${requestScope.repB.repOpinion}</textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验目的：</label>
					</div>
					<div class="field">
						<textarea id="expObjective" type="text" class="input"
							name="expObjective" style="height: 120px;" readonly="readonly">${requestScope.repB.expObjective}</textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验器材：</label>
					</div>
					<div class="field">
						<textarea id="expEquip" type="text" class="input" name="expEquip"
							style="height: 120px;" readonly="readonly">${requestScope.repB.expEquip}</textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验内容与步骤：</label>
					</div>
					<div class="field">
						<textarea id="expContent" type="text" class="input"
							name="expContent" style="height: 120px;" readonly="readonly">${requestScope.repB.expContent}</textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验要求：</label>
					</div>
					<div class="field">
						<textarea id="expRequire" type="text" class="input"
							name="expRequire" style="height: 120px;" readonly="readonly">${requestScope.repB.expRequire}</textarea>
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>实验数据：</label>
					</div>
					<div class="field">
						<textarea id="expRequire" type="text" class="input"
							name="expRequire" style="height: 120px;" readonly="readonly">${requestScope.repB.repData}</textarea>
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label>实验数据文件：</label>
					</div>
					<div class="field">
						<a class="button bg-main icon-check-square-o"
							href="${basePath}${requestScope.repB.repDoc}">下载</a>
					</div>
				</div>
				<div class="form-group" id="submit">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit"
							id="submit">批改完毕</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>